﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LILI.Data.Model
{
	/// <summary>
	/// M_Article:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class M_Article
	{
		public M_Article()
		{}
		#region Model
		private int _articleid;
		private int _articletypeid;
		private string _articletitle;
		private string _articlecotent=string.Empty;
		private int _viewscount=0;
		private DateTime _publishdate= Convert.ToDateTime(System.DateTime.Now);
		/// <summary>
		/// 
		/// </summary>
		public int ArticleID
		{
			set{ _articleid=value;}
			get{return _articleid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ArticleTypeID
		{
			set{ _articletypeid=value;}
			get{return _articletypeid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ArticleTitle
		{
			set{ _articletitle=value;}
			get{return _articletitle;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ArticleCotent
		{
			set{ _articlecotent=value;}
			get{return _articlecotent;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ViewsCount
		{
			set{ _viewscount=value;}
			get{return _viewscount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime PublishDate
		{
			set{ _publishdate=value;}
			get{return _publishdate;}
		}
		#endregion Model

	}
}
